{
  "Header" : {
    "Code" : "SaleOrder",
    "Type" : "GSPBusinessEntity",
    "NameSpace" : "Inspur.GS.Scm.OrderMrg.SaleOrder.SaleOrder.Back",
    "CertId" : null,
    "Name" : "销售订单",
    "FileName" : "SaleOrder.be",
    "BizobjectID" : "f86962df-cc58-f67e-84b1-8264c93399e8",
    "Language" : null,
    "Extendable" : false,
    "NameLanguage" : {
      "zh-CHS" : "销售订单",
      "en" : "",
      "zh-CHT" : ""
    },
    "ID" : "0029c056-484c-450f-8ce0-e85528ea7f51",
    "IsTranslating" : false
  },
  "Refs" : [ {
    "DependentMetadata" : {
      "ID" : "389bfaf0-717d-45f1-83a6-4414b449d275",
      "CertId" : null,
      "NameSpace" : "Inspur.GS.Scm.OrderMrg.SaleOrder.SaleOrder.Back",
      "Code" : "SalesPersonnel",
      "Name" : "销售人员",
      "Type" : "GSPBusinessEntity",
      "BizobjectID" : "f86962df-cc58-f67e-84b1-8264c93399e8"
    }
  }, {
    "DependentMetadata" : {
      "ID" : "e6cbbb12-3964-4bc8-90a2-8d07d3d99852",
      "CertId" : null,
      "NameSpace" : "Inspur.GS.Scm.OrderMrg.SaleOrder.SaleOrder.Back",
      "Code" : "Customer",
      "Name" : "客户",
      "Type" : "GSPBusinessEntity",
      "BizobjectID" : "f86962df-cc58-f67e-84b1-8264c93399e8"
    }
  }, {
    "DependentMetadata" : {
      "ID" : "97c93dd5-0557-4f25-ade4-a0376eff3db9",
      "CertId" : null,
      "NameSpace" : "Inspur.GS.Scm.OrderMrg.SaleOrder.SaleOrder.Back",
      "Code" : "Goods",
      "Name" : "商品",
      "Type" : "GSPBusinessEntity",
      "BizobjectID" : "f86962df-cc58-f67e-84b1-8264c93399e8"
    }
  }, {
    "DependentMetadata" : {
      "ID" : "c6633bf7-246e-443a-a927-9ff3cd9dd445",
      "CertId" : null,
      "NameSpace" : "Inspur.GS.Scm.OrderMrg.SaleOrder.SaleOrder.Back",
      "Code" : "SaleOrder.be",
      "Name" : "SaleOrder.be",
      "Type" : "ResourceMetadata",
      "BizobjectID" : "f86962df-cc58-f67e-84b1-8264c93399e8"
    }
  } ],
  "Content" : {
    "ID" : "0029c056-484c-450f-8ce0-e85528ea7f51",
    "Code" : "SaleOrder",
    "Name" : "销售订单",
    "GeneratingAssembly" : "Inspur.GS.Scm.OrderMrg.SaleOrder.SaleOrder.Back",
    "IsUseNamespaceConfig" : true,
    "VersionControlInfo" : {
      "VersionControlElementId" : "afa677e0-44a7-4674-8711-c2b674295f70"
    },
    "IsSimplifyGen" : true,
    "MainObject" : {
      "ID" : "6b540c29-185d-4dd6-b400-d31b9088b704",
      "Code" : "SaleOrder",
      "Name" : "销售订单",
      "I18nResourceInfoPrefix" : "Inspur.GS.Scm.OrderMrg.SaleOrder.SaleOrder.Back.SaleOrder.SaleOrder",
      "ContainElements" : [ {
        "ID" : "617db6f3-68a0-46e2-ad3e-18863a58f746",
        "LabelID" : "ID",
        "ChildAssociations" : [ ],
        "ColumnID" : "f1a38621-e392-4e97-964f-033af6e90b0d",
        "Code" : "ID",
        "Name" : "主键",
        "MDataType" : "String",
        "Length" : 36,
        "IsRequire" : true,
        "EnableRtrim" : true
      }, {
        "ID" : "afa677e0-44a7-4674-8711-c2b674295f70",
        "LabelID" : "Version",
        "ChildAssociations" : [ ],
        "ColumnID" : "b3814098-d28b-4d57-941d-933780fb8831",
        "Code" : "Version",
        "Name" : "版本",
        "MDataType" : "DateTime",
        "EnableRtrim" : true
      }, {
        "ID" : "4e43288e-a454-445d-9e8f-01f879c76108",
        "LabelID" : "BillStatus",
        "ChildAssociations" : [ ],
        "ColumnID" : "50402e46-4899-42f0-9bf9-1c598862f6a4",
        "Code" : "BillStatus",
        "Name" : "状态",
        "MDataType" : "String",
        "Length" : 36,
        "EnableRtrim" : true
      }, {
        "ID" : "c7d507d0-f4c1-4267-9ca9-5d90c5b49a17",
        "LabelID" : "OrderCode",
        "ChildAssociations" : [ ],
        "ColumnID" : "40b0b7bc-0869-4bdc-a5fe-7c796003a168",
        "Code" : "OrderCode",
        "Name" : "订单编号",
        "MDataType" : "String",
        "Length" : 36,
        "EnableRtrim" : true
      }, {
        "ID" : "3c8d977c-bfd9-4b0b-90d9-cef0f3b58ab4",
        "LabelID" : "SalesPersonnel",
        "ChildAssociations" : [ {
          "ID" : "f7606c94-7d44-444b-93b2-a8534661d989",
          "RefElementCollection" : [ {
            "ID" : "e829ee91-3126-4ae3-af79-57b1ad8c676f",
            "LabelID" : "SalesPersonnel_Code",
            "ChildAssociations" : [ ],
            "ColumnID" : "7bbe8dc3-e51b-4f0a-a830-9c59a8676e26",
            "Code" : "Code",
            "Name" : "编号",
            "MDataType" : "String",
            "Length" : 100,
            "IsRefElement" : true,
            "RefElementID" : "0184af19-a44a-411e-bac4-2cab028c3f97",
            "EnableRtrim" : true
          }, {
            "ID" : "b8e7854d-b840-4737-b605-91d57c91adc9",
            "LabelID" : "SalesPersonnel_Name",
            "ChildAssociations" : [ ],
            "ColumnID" : "95a1aa91-5369-47ae-a936-b9fb433ea93c",
            "Code" : "Name",
            "Name" : "名称",
            "MDataType" : "String",
            "Length" : 100,
            "IsRefElement" : true,
            "RefElementID" : "1716abb9-7a3a-4e90-9326-6bb0968f7800",
            "EnableRtrim" : true
          } ],
          "RefModelID" : "389bfaf0-717d-45f1-83a6-4414b449d275",
          "RefModelName" : "销售人员",
          "RefModelCode" : "SalesPersonnel",
          "RefObjectID" : "50aba7e1-17f4-4df4-8e23-e51efd3c8d01",
          "RefObjectCode" : "SalesPersonnel",
          "RefObjectName" : "销售人员",
          "KeyCollection" : [ {
            "RefDataModelName" : "",
            "SourceElement" : "a7175abf-37d8-4fea-bd37-0c09728cf4de",
            "SourceElementDisplay" : "主键",
            "TargetElement" : "3c8d977c-bfd9-4b0b-90d9-cef0f3b58ab4",
            "TargetElementDisplay" : "销售人员"
          } ],
          "AssoModelInfo" : {
            "MainObjCode" : "SalesPersonnel",
            "ModelConfigId" : "Inspur.GS.Scm.OrderMrg.SaleOrder.SaleOrder.Back.SalesPersonnel"
          }
        } ],
        "ColumnID" : "18157ce7-1781-4559-b2bc-c54f13ed38fc",
        "Code" : "SalesPersonnel",
        "Name" : "销售人员",
        "ObjectType" : "Association",
        "MDataType" : "String",
        "Length" : 36,
        "EnableRtrim" : true
      }, {
        "ID" : "cae61789-0381-47d4-842f-8d62c3451dc6",
        "LabelID" : "PayMethod",
        "ChildAssociations" : [ ],
        "ColumnID" : "a0f50310-2189-48aa-ace0-18b4b0427d98",
        "Code" : "PayMethod",
        "Name" : "支付方式",
        "MDataType" : "String",
        "Length" : 20,
        "EnableRtrim" : true
      }, {
        "ID" : "c257e849-5249-4466-9092-75efb2ad0df8",
        "LabelID" : "Customer",
        "ChildAssociations" : [ {
          "ID" : "0e60fc06-b9ff-4ab2-b279-2f70ffa63c88",
          "RefElementCollection" : [ {
            "ID" : "528fb3d0-70bd-49e0-81b8-ddb7757345fa",
            "LabelID" : "Customer_Code",
            "ChildAssociations" : [ ],
            "ColumnID" : "2758de6d-1b79-4a4e-ad99-31676cb81aa1",
            "Code" : "Code",
            "Name" : "编号",
            "MDataType" : "String",
            "Length" : 100,
            "IsRefElement" : true,
            "RefElementID" : "b098dc04-cb15-455f-b98b-3cf6918f578f",
            "EnableRtrim" : true
          }, {
            "ID" : "b4d2978b-25bc-44b1-b705-552d2a8419fa",
            "LabelID" : "Customer_Name",
            "ChildAssociations" : [ ],
            "ColumnID" : "e7d0ba2c-5013-4332-be16-7a50d5e76653",
            "Code" : "Name",
            "Name" : "名称",
            "MDataType" : "String",
            "Length" : 100,
            "IsRefElement" : true,
            "RefElementID" : "c15d376d-5fbd-44eb-acaf-eb5ff7cf0910",
            "EnableRtrim" : true
          } ],
          "RefModelID" : "e6cbbb12-3964-4bc8-90a2-8d07d3d99852",
          "RefModelName" : "客户",
          "RefModelCode" : "Customer",
          "RefObjectID" : "c5d403b9-85d9-4379-9513-8a7903f29112",
          "RefObjectCode" : "Customer",
          "RefObjectName" : "客户",
          "KeyCollection" : [ {
            "RefDataModelName" : "",
            "SourceElement" : "4f401f09-fa0b-4960-9c55-7349cc136202",
            "SourceElementDisplay" : "主键",
            "TargetElement" : "c257e849-5249-4466-9092-75efb2ad0df8",
            "TargetElementDisplay" : "客户"
          } ],
          "AssoModelInfo" : {
            "MainObjCode" : "Customer",
            "ModelConfigId" : "Inspur.GS.Scm.OrderMrg.SaleOrder.SaleOrder.Back.Customer"
          }
        } ],
        "ColumnID" : "c55c27c6-edf0-4452-ba22-ddb0268d7bc1",
        "Code" : "Customer",
        "Name" : "客户",
        "ObjectType" : "Association",
        "MDataType" : "String",
        "Length" : 36,
        "EnableRtrim" : true
      }, {
        "ID" : "3b4b47f6-a0c7-498b-80cb-b2eada7245a7",
        "LabelID" : "Telephone",
        "ChildAssociations" : [ ],
        "ColumnID" : "2e8b2391-7f39-4aa5-a116-facb65d8cff7",
        "Code" : "Telephone",
        "Name" : "联系电话",
        "MDataType" : "String",
        "Length" : 20,
        "EnableRtrim" : true
      }, {
        "ID" : "6d18164f-955c-4826-be71-976dba5bb7a9",
        "LabelID" : "SendState",
        "ChildAssociations" : [ ],
        "ColumnID" : "3c219d5c-4dfb-4fb7-b017-b6e8c7a99975",
        "Code" : "SendState",
        "Name" : "发货状态",
        "MDataType" : "String",
        "Length" : 20,
        "EnableRtrim" : true
      }, {
        "ID" : "63c0dbc8-4a51-4b1a-a531-3be2040b3158",
        "LabelID" : "Remark",
        "ChildAssociations" : [ ],
        "ColumnID" : "019f74d8-36d6-4b3d-99e6-9d64a6bc62f6",
        "Code" : "Remark",
        "Name" : "备注",
        "MDataType" : "String",
        "Length" : 100,
        "EnableRtrim" : true
      }, {
        "ID" : "5268351e-9876-49d1-8e9d-733c7982f8fa",
        "LabelID" : "TotalPrice",
        "ChildAssociations" : [ ],
        "ColumnID" : "04deb663-a8a6-449d-babc-afd6001c626c",
        "Code" : "TotalPrice",
        "Name" : "订单金额",
        "MDataType" : "Decimal",
        "Length" : 10,
        "Precision" : 2,
        "EnableRtrim" : true
      }, {
        "ID" : "f2486993-bbf1-4d2b-ba76-4775b0e3b194",
        "LabelID" : "TotalDiscounts",
        "ChildAssociations" : [ ],
        "ColumnID" : "150d250a-b8ef-40a2-be11-4b770fb5f761",
        "Code" : "TotalDiscounts",
        "Name" : "折扣优惠",
        "MDataType" : "Decimal",
        "Length" : 10,
        "Precision" : 2,
        "EnableRtrim" : true
      }, {
        "ID" : "423f7a47-fbf6-4e86-b26c-cc93e535c316",
        "LabelID" : "ActualPay",
        "ChildAssociations" : [ ],
        "ColumnID" : "7f05b609-d8be-4fc1-a12b-214473f6c065",
        "Code" : "ActualPay",
        "Name" : "合计实付",
        "MDataType" : "Decimal",
        "Length" : 10,
        "Precision" : 2,
        "EnableRtrim" : true
      }, {
        "ID" : "7317c2c4-58b4-4fe2-bc42-e273bdf6e341",
        "LabelID" : "OrderSource",
        "ChildAssociations" : [ ],
        "ColumnID" : "35257029-befb-41d3-9c84-8f1c0c693d49",
        "Code" : "OrderSource",
        "Name" : "订单来源",
        "MDataType" : "String",
        "Length" : 20,
        "EnableRtrim" : true
      }, {
        "ID" : "262842eb-d501-42e3-943a-fdb0f7814210",
        "LabelID" : "DateTime",
        "ChildAssociations" : [ ],
        "ColumnID" : "299ae5ec-a4ec-4e99-919d-f4dd108baed1",
        "Code" : "DateTime",
        "Name" : "下单日期",
        "MDataType" : "Date",
        "EnableRtrim" : true
      }, {
        "ID" : "64b37196-88d4-4797-a0b9-2e7e483b3b81",
        "LabelID" : "Ordertime",
        "ChildAssociations" : [ ],
        "ColumnID" : "8c4febd5-e9ae-4877-b429-3790104bb432",
        "Code" : "Ordertime",
        "Name" : "下单时间",
        "MDataType" : "DateTime",
        "EnableRtrim" : true
      } ],
      "ContainChildObjects" : [ {
        "ID" : "3cb9f15d-4821-4b5e-8517-9360009713f9",
        "Code" : "OrderDetail",
        "Name" : "订单明细",
        "I18nResourceInfoPrefix" : "Inspur.GS.Scm.OrderMrg.SaleOrder.SaleOrder.Back.SaleOrder.OrderDetail",
        "ContainElements" : [ {
          "ID" : "7f9dc8bf-12f1-4190-9679-29c89b340cda",
          "LabelID" : "ID",
          "ChildAssociations" : [ ],
          "ColumnID" : "94e6b571-4778-492d-86a1-ff6b65d8ed41",
          "Code" : "ID",
          "Name" : "主键",
          "MDataType" : "String",
          "Length" : 36,
          "IsRequire" : true,
          "EnableRtrim" : true
        }, {
          "ID" : "4e6b943a-8b4d-4aa0-9b43-4e839ca9d2d0",
          "LabelID" : "ParentID",
          "ChildAssociations" : [ ],
          "ColumnID" : "9e1b1ba8-1ac7-42b7-9538-f1045d3cbbb0",
          "Code" : "ParentID",
          "Name" : "上级对象主键",
          "MDataType" : "String",
          "Length" : 36,
          "IsRequire" : true,
          "EnableRtrim" : true
        }, {
          "ID" : "a65f044f-130b-469a-86f7-2afd9aa14a67",
          "LabelID" : "Goods",
          "ChildAssociations" : [ {
            "ID" : "1221d31b-9909-4740-a69f-716b9abc33bb",
            "RefElementCollection" : [ {
              "ID" : "f1e58120-faad-45c6-83ad-6d54941bd91d",
              "LabelID" : "Goods_GoodsName",
              "ChildAssociations" : [ ],
              "ColumnID" : "bd36bf51-6edc-427a-8e12-c6e5e8d6122c",
              "Code" : "GoodsName",
              "Name" : "商品名称",
              "MDataType" : "String",
              "Length" : 36,
              "IsRefElement" : true,
              "RefElementID" : "e5124046-fda0-462a-8a37-432fef3e8542",
              "EnableRtrim" : true
            }, {
              "ID" : "9b11db61-8368-430f-bcbb-4ced80650391",
              "LabelID" : "Goods_GoodsCode",
              "ChildAssociations" : [ ],
              "ColumnID" : "a77344b0-76c7-428a-bf98-753b5ac45582",
              "Code" : "GoodsCode",
              "Name" : "商品编号",
              "MDataType" : "String",
              "Length" : 36,
              "IsRefElement" : true,
              "RefElementID" : "f17b93cf-0cf1-445b-9965-3a376b42b569",
              "EnableRtrim" : true
            }, {
              "ID" : "ea31dee1-61aa-4d5c-8241-87bc397fc0ee",
              "LabelID" : "Goods_Category",
              "ChildAssociations" : [ ],
              "ColumnID" : "7dcd12c2-ef1a-4448-948b-530af36206f7",
              "Code" : "Category",
              "Name" : "分类名称",
              "MDataType" : "String",
              "Length" : 30,
              "IsRefElement" : true,
              "RefElementID" : "296ad510-e29e-4a6d-9b02-d7b32ec5d941",
              "EnableRtrim" : true
            } ],
            "RefModelID" : "97c93dd5-0557-4f25-ade4-a0376eff3db9",
            "RefModelName" : "商品",
            "RefModelCode" : "Goods",
            "RefObjectID" : "10d65fbd-9512-482d-9e2b-52f637effc15",
            "RefObjectCode" : "Goods",
            "RefObjectName" : "商品",
            "KeyCollection" : [ {
              "RefDataModelName" : "",
              "SourceElement" : "d95298a3-124f-4d2c-af4c-df4a01e33199",
              "SourceElementDisplay" : "主键",
              "TargetElement" : "a65f044f-130b-469a-86f7-2afd9aa14a67",
              "TargetElementDisplay" : "商品"
            } ],
            "AssoModelInfo" : {
              "MainObjCode" : "Goods",
              "ModelConfigId" : "Inspur.GS.Scm.OrderMrg.SaleOrder.SaleOrder.Back.Goods"
            }
          } ],
          "ColumnID" : "e72687b0-7f00-4dbb-b8a4-682392f2cff5",
          "Code" : "Goods",
          "Name" : "商品",
          "ObjectType" : "Association",
          "MDataType" : "String",
          "Length" : 36,
          "EnableRtrim" : true
        }, {
          "ID" : "0d79b839-4b8e-4200-a272-945431e21ea4",
          "LabelID" : "Specification",
          "ChildAssociations" : [ ],
          "ColumnID" : "1b46613b-8e37-4795-a428-396b7fdea160",
          "Code" : "Specification",
          "Name" : "规格型号",
          "MDataType" : "String",
          "Length" : 36,
          "EnableRtrim" : true
        }, {
          "ID" : "5a206330-26ee-4bfd-9ed7-cd0b98390d93",
          "LabelID" : "Quality",
          "ChildAssociations" : [ ],
          "ColumnID" : "a2f84b43-161b-460e-8ee4-b87fffa85854",
          "Code" : "Quality",
          "Name" : "数量",
          "MDataType" : "Integer",
          "EnableRtrim" : true
        }, {
          "ID" : "c427c003-7173-4984-b8bd-8d639537c337",
          "LabelID" : "Price",
          "ChildAssociations" : [ ],
          "ColumnID" : "f097e013-6adb-4f18-a9f3-82e84a13923d",
          "Code" : "Price",
          "Name" : "标准单价",
          "MDataType" : "Decimal",
          "Length" : 10,
          "Precision" : 2,
          "EnableRtrim" : true
        }, {
          "ID" : "920640b3-f0ef-43ce-908e-5bdfe1427922",
          "LabelID" : "Amount",
          "ChildAssociations" : [ ],
          "ColumnID" : "50ebeadd-c79a-4dfd-92fd-24bc01ec5d76",
          "Code" : "Amount",
          "Name" : "金额",
          "MDataType" : "Decimal",
          "Length" : 10,
          "Precision" : 2,
          "EnableRtrim" : true
        }, {
          "ID" : "244e01d2-3935-4971-a99f-3c53705b07ea",
          "LabelID" : "DiscountType",
          "ChildAssociations" : [ ],
          "ColumnID" : "81234eea-cacb-48e1-846e-0794103a18f3",
          "Code" : "DiscountType",
          "Name" : "折扣类型",
          "MDataType" : "String",
          "Length" : 20,
          "EnableRtrim" : true
        }, {
          "ID" : "b9887141-a5c8-45dd-9228-da990d965e92",
          "LabelID" : "Discount",
          "ChildAssociations" : [ ],
          "ColumnID" : "9466b975-0ac5-4691-96dd-8323e535249e",
          "Code" : "Discount",
          "Name" : "折扣金额",
          "MDataType" : "Decimal",
          "Length" : 10,
          "Precision" : 2,
          "EnableRtrim" : true
        }, {
          "ID" : "23912c74-4016-4bcc-a49d-c1e8fd35134d",
          "LabelID" : "ActualAmount",
          "ChildAssociations" : [ ],
          "ColumnID" : "b3bfc34d-11a8-4f90-ace6-5df2ce1d74c6",
          "Code" : "ActualAmount",
          "Name" : "实际结算金额",
          "MDataType" : "Decimal",
          "Length" : 10,
          "Precision" : 2,
          "EnableRtrim" : true
        }, {
          "ID" : "a46a46fd-bafa-463b-b259-f82c95b494c2",
          "LabelID" : "Remark",
          "ChildAssociations" : [ ],
          "ColumnID" : "7458fa55-782c-4c91-b6c6-201ac327806d",
          "Code" : "Remark",
          "Name" : "备注",
          "MDataType" : "String",
          "Length" : 100,
          "EnableRtrim" : true
        } ],
        "RefObjectName" : "03df80d9-1594-4fe1-8c4e-b8a00f1c47ca",
        "ObjectType" : 1,
        "ColumnGenerateID" : {
          "ColumnParameters" : [ ],
          "ElementID" : "7f9dc8bf-12f1-4190-9679-29c89b340cda",
          "GenerateType" : "Guid"
        },
        "BelongModelID" : "0029c056-484c-450f-8ce0-e85528ea7f51",
        "Keys" : [ {
          "RefDataModelName" : "",
          "SourceElement" : "4e6b943a-8b4d-4aa0-9b43-4e839ca9d2d0",
          "SourceElementDisplay" : "上级对象主键",
          "TargetElement" : "617db6f3-68a0-46e2-ad3e-18863a58f746",
          "TargetElementDisplay" : "主键"
        } ],
        "ParentObjectID" : "6b540c29-185d-4dd6-b400-d31b9088b704"
      } ],
      "RefObjectName" : "90dcbef2-7219-42d5-b247-21c8b3808985",
      "ColumnGenerateID" : {
        "ColumnParameters" : [ ],
        "ElementID" : "617db6f3-68a0-46e2-ad3e-18863a58f746",
        "GenerateType" : "Guid"
      },
      "BelongModelID" : "0029c056-484c-450f-8ce0-e85528ea7f51"
    },
    "Variables" : {
      "ID" : "0a6c4ba7-221e-4a8b-932d-606f92a7773c",
      "Code" : "SaleOrderVariable",
      "Name" : "销售订单变量",
      "I18nResourceInfoPrefix" : ""
    },
    "ComponentAssemblyName" : "Inspur.GS.Scm.OrderMrg.SaleOrder.SaleOrder.Back"
  },
  "ExtendRule" : null,
  "RelativePath" : "Scm/OrderMrg/SaleOrder/bo-saleorder-back/metadata/be",
  "ExtendProperty" : "{\"enableEntryBills\":false}",
  "Extended" : false,
  "PreviousVersion" : null,
  "Version" : null,
  "Properties" : null
}